import javax.mail.PasswordAuthentication;


class SMTPAuthenticator extends javax.mail.Authenticator {
 
	public SMTPAuthenticator(){
		
	}
	
public PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication ("thm.fb.projekt@gmail.com", "a1b2c3d4-"); // password not displayed here, but gave the right password in my actual code.
}
}
